Motion.MoveAxisAbsolute 方法

命令一个控制运动到达指定的绝对位置。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsCommandStatus MoveAxisAbsolute(
       int Index,
       double Position,
       double Velocity,
       double Acceleration,
       double Deceleration,
       double Jerk,
       McDirection Direction,
       McBufferMode BufferMode
)
Public Function MoveAxisAbsolute(
       Index As Integer,
       Position As Double,
       Velocity As Double,
       Acceleration As Double,
       Deceleration As Double,
       Jerk As Double,
       Direction As McDirection,
       BufferMode As McBufferMode
) As KsCommandStatus

参数

Index [in]

型别:int

轴索引。索引以 0 为起始;别名将影响此参数。

 

Position [in]

型别:double

运动的目标位置。[单位](正或负值)

 

Velocity [in]

型别:double

最大速度值,若目标位置很接近,不一定会达到最大速度。[单位/秒]

 

Acceleration [in]

型别:double

加速度值,永远为正值,单位由 McProfileType 决定(增加马达电量)。[单位/秒2] 或 [秒]

 

Deceleration [in]

型别:double

减速度值。永远为正值,单位由 McProfileType 决定(减少马达电量)。[单位/秒2] 或 [秒]

 

Jerk [in]

型别:double

加加速度值,永远为正值,单位由 McProfileType 决定。[单位/秒3] 或 [秒]

 

Direction [in]

型别:McDirection

轴的移动方向。

 

BufferMode [in]

型别:McBufferMode

定义如何融合两方法的速度。

回传值

型别:KsCommandStatus

回传 KsCommandStatus 类别。

备注

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间